package com.itheima.service;

<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> cheng
import com.itheima.pojo.User;

public interface UserService {
    User findByUsername(String username);
<<<<<<< HEAD
=======
import com.itheima.entity.PageResult;
import com.itheima.pojo.Menu;
import com.itheima.pojo.User;

import java.util.List;

public interface UserService {
    User findByUsername(String username);

    /**
     * 查询用户列表
     * @return
     * @param currentPage
     * @param pageSize
     * @param queryString
     */
    PageResult findAllUser(Integer currentPage, Integer pageSize, String queryString);

    /**
     * 修改用户数据
     * @param roleIds
     * @param user
     * @return
     */
  void edit(Integer[] roleIds, User user);

    void deleteUserByUserId(Integer id);

    /**
     * 添加用户
     * @param roleIds
     * @param user
     */
    void addUser(Integer[] roleIds, User user);

>>>>>>> zhao
=======
>>>>>>> cheng
}
